By obtaining a data command via OnConfigureCountCommand(TDataCommand,Where) and then running that command, this inversion control method handles the request to count all TEntity entities in compliance with the Where filtering criteria.

Namespace: Keystone.Carbonite.Diamant
Assembly: Keystone.Carbonite.Diamant (in Keystone.Carbonite.Diamant.dll)

protected override int OnCount( 
Where filteringCriteria 
)
This language is not supported or no code example is available.

Parameters

filteringCriteria

Type: Where

The filtering criteria.

Return Value

The number of entities in compliance with the Where filtering criteria.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono